package com.mall.common.utils;

public enum ResponseMessage {

    SUCCESS(6666,"成功"),
    FAIL(5555, "失败"),
    ERROR(8888,"出错啦"),
    USER_NOT_FOUND(7777,"用户未找到"),
    PASSWORD_NOT_MATCHED(9999,"密码错误"),
    TOKEN_INVALID(10010,"Token令牌失效" );

    public Integer code;
    public String msg;

    ResponseMessage(Integer code, String msg){
        this.code = code;
        this.msg=msg;
    }

}
